#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

void Bubble_sort(int digit, int* digits)
{
	int a = 0, b = 1;
	for (int i = 0; i < digit - 1; i++) {
		a = 0;
		b = 1;
		for (int j = 0; j < digit - 1 - i; j++) {
			if (digits[a] > digits[b]) {
				digits[a] = digits[a] + digits[b];
				digits[b] = digits[a] - digits[b];
				digits[a] = digits[a] - digits[b];
			}
			a++;
			b++;
		}
	}
}
int main()
{
	char words[100] = { 0 };
	int digits[70] = { 0 };
	scanf("%s", words);
	for (int i = 0; words[i] != 0; i++) {
		digits[words[i] - 'a' + 26]++;
	}
	Bubble_sort(69, digits);
	int i = 0, j = 0;
	for (i = 69; digits[i] == 0; i--);
	for (j = 25; digits[j] == 0; j++);
	int m = digits[i] - digits[j];
	if (m!=1&&(m==2||m==3||m==5||m==7||m==9||m==11||m==13||m==19||m==17||m==23||m==27))printf("Lucky Word\n%d", digits[i] - digits[j]);
	else printf("No Answer\n%d", 0);
	return 0;
}